using System;

namespace CoreShop.Model
{
    /// <summary>
    /// 桌位表
    /// </summary>
    [SqlSugar.SugarTable("corecmsfooddesk")]
    public partial class corecmsfooddesk
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 总店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public long storeId { get; set; }

        /// <summary>
        /// 桌位类型id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "typeId", IsNullable = true)]
        public Int64 typeId { get; set; }

        /// <summary>
        /// 桌位名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "number", IsNullable = true)]
        public String number { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name", IsNullable = true)]
        public String name { get; set; }

        /// <summary>
        /// 可容纳人数
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "manQty", IsNullable = true)]
        public Int32? manQty { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "useQty", IsNullable = true)]
        public Int32? useQty { get; set; }

        /// <summary>
        /// -1删除 0停用  1正常
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete", IsNullable = false)]
        public Boolean isDelete { get; set; }

        /// <summary>
        /// 更新时间（时间戳，数据同步需要字段）
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime", IsNullable = true)]
        public Int64? modifyTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "remark", IsNullable = true)]
        public String remark { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "createTime", IsNullable = true)]
        public DateTime? createTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "updateTime", IsNullable = true)]
        public DateTime? updateTime { get; set; }

        /// <summary>
        /// 更新人员id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyBy", IsNullable = true)]
        public Int32? modifyBy { get; set; }

        /// <summary>
        /// 使用状态(0禁用1是正常)
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "status", IsNullable = true)]
        public Int32? status { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sort", IsNullable = true)]
        public Int32? sort { get; set; }

        /// <summary>
        /// 绑定商品Json
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foods", IsNullable = true)]
        public String foods { get; set; }

        /// <summary>
        /// 是否是快餐台，0否，1是
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "fastFood", IsNullable = true)]
        public int fastFood { get; set; }
    }
}